from sqlalchemy import Column, Integer, String, DateTime
from common.database import Base
from core.db.BaseDb import BaseDb

class User2(Base, BaseDb):
    """
    信息表
    """
    __tablename__ = 'user2'

    id = Column(Integer, primary_key=True, autoincrement=True, comment='ID')
    mobile = Column(String(30, collation='utf8_general_ci'), nullable=False, comment='电话')
    password = Column(String(100, collation='utf8_general_ci'), nullable=False, comment='密码')
    nikename = Column(String(100, collation='utf8_general_ci'), nullable=False, comment='昵称')
